<div class="pageTop">
    <div class="wrapLink"></div>
</div>
<div id="footer">
    <div class="bottomFo">
        <div>
            <a href="focode.com" class="focode" target="_blank"></a><span>CUAHANG247 supported by</span>
        </div>
        <p>
            © Cuahang247.com
        </p>
    </div>
    <div class="innerFo">
        <div class="listMenuFo">
             <?php if( count($groupCates) ) : ?>
                 <?php foreach( $groupCates as $gr ) : ?>
                    <ul>
                        <li>
                            <a href="<?=site_url('nhom-san-pham/' . $gr['id']. '-' . $gr['slug_name'])?>"><?=$gr['name']?></a>
                        </li>
                        <?php if(count($categorys[$gr['id']])) : ?>
                        <li>
                            <?php foreach($categorys[$gr['id']] as $category) : ?>
                                <a href="<?=site_url('danh-muc/' . $category['id'] .'-' . $category['slug_name'])?>"><?=$category['name']?></a>
                            <?php endforeach ?>
                            
                            <a href="<?=site_url('nhom-san-pham/' . $gr['id']. '-' . $gr['slug_name'])?>"><b>Xem tất cả</b></a>
                            
                            <a href="<?=site_url('thuong-hieu/' . $gr['id']. '-' . $gr['slug_name'])?>"><b>Xem theo thương hiệu</b></a>
                        </li>
                       <?php endif ?>
                    </ul>
                <?php endforeach ?>
            <?php endif ?>
        </div>
        <div class="contactFo">
            <p>
                <a href="http://pinterest.com/cuahang247/" class="pin"></a>
                <a href="https://www.facebook.com/Cuahang247com" class="fb"></a>
                <a href="https://twitter.com/cuahang247" class="tw"></a>
                <a href="http://www.flickr.com/photos/cuahang247" class="fl"></a>
            </p>
            <ul>
                <li>
                    <a href="<?=site_url()?>">TRANG CHỦ</a>
                </li>
                <li>
                    <a href="<?=site_url('cuahang247/huong-dan-mua-hang')?>">HƯỚNG DẪN MUA HÀNG</a>
                </li>
                <li>
                    <a href="<?=site_url('cuahang247/qui-dinh')?>">QUY ĐỊNH NGƯỜI MUA</a>
                </li>
                <li>
                    <a href="<?=site_url('cuahang247/lien-he')?>">LIÊN HỆ</a>
                </li>
            </ul>
            <div class="getEmail">
                <input name="email" type="text"  onblur="if (this.value == '') this.value = 'Nhận Email khuyến mãi';" onfocus="if (this.value == 'Nhận Email khuyến mãi') this.value = '';" value="Nhận Email khuyến mãi" class="intEmail" />
                <input name="" type="button" value="Đăng ký" class="bt" />
            </div>
        </div>
    </div>
